package com.yan.mapper;

import com.yan.po.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    public Integer addUser(User user)throws Exception;
    public User getUserById(Integer id) throws Exception;
    public Integer updateUser(User user)throws Exception;
    public Integer deleteUser(Integer id)throws Exception;


}